#content {
  display: block;
  padding: 1em 1em 1em 1em;
  position: relative;
  box-sizing: border-box;
  min-height: 100%;

  background-color: $content-background-color;

  transition: margin-left 1s, margin-left 1s, opacity 0.3s linear;
  margin-left: $menu-width-retracted;
  margin-right: $sidebar-width-retracted;
  @media screen and (min-width: $breakpoint-small) {
    margin-left: $menu-width-extended;
    padding-top: 1em;
  }
  @media screen and (min-width: $breakpoint-medium) {
    margin-left: 0;
    margin-right: 0;
    padding-top: $menu-header-height + 4em;
    padding-bottom: 3em;
  	//margin-right: $sidebar-width-extended;
  }

  // display: -webkit-flex;
  // display: flex;
  // -webkit-align-items: center;
  // align-items: center;
  // -webkit-flex-flow: column wrap;
  // flex-flow: column wrap;

  // -webkit-justify-content: center;
  // justify-content: center;
  // -webkit-align-content: center;
  // align-content: center;

  // display: -webkit-flex;
  // display: flex;
  // -webkit-align-items: flex-start;
  // align-items: flex-start;
  // // -webkit-flex-flow: row wrap;
  // // flex-flow: row wrap;

  // // text-align: center;
  // & > * {
  //   //text-align: left;
  //   align-self: center;
  // }

  text-align: center;
  & > div{
    text-align: left;
    display:inline-block;
    width: auto;
    margin: auto;
  }
  & > table {
    text-align: left;
  }


  & > footer {
    display: block;
    @media screen and (min-width: $breakpoint-small) {
      display: none;
    }

    position: absolute;
    bottom: 0.8em;
    left: 0;
    right: 0;

    text-align: center;
    color: darken($content-background-color, 10%);
  }

  select {
    font-size: 100%;
  }
}
